package com.tuniu.agents.tools.train.model;


import lombok.Data;

import java.util.List;

/**
 * Common train ticket list card
 */
@Data
public class TrainCardData {
    private String departStationName;
    private String destStationName;
    private String trainNum;
    private String departureTime;
    private String arrivalTime;
    private String duration;
    
    // url info
    private UrlInfo url;
    
    // price info
    private String price;
    
    // seat info
    private List<SeatInfo> trainType;
    
    // Second class seat type
    private String edzSeatType;

    @Data
    public static class UrlInfo {
        //APP URL
        private String appUrl;
        //Mobile web URL
        private String mUrl;
        //Mini Program URL
        private String mpUrl;

    }

    @Data
    public static class SeatInfo {
        private String seatName;
        private int leftNumber;
        private String leftNumberDesc;
        private String seatType;

    }
}